package com.project.springboot.service.lock4j;

import com.baomidou.mybatisplus.extension.service.IService;
import com.project.springboot.vo.Lock4jUserReqVo;
import com.project.springboot.vo.Lock4jUserResVo;
import com.project.springboot.dataobject.Lock4jUser;
import com.project.springboot.page.PageResult;

/**
 * description: Lock4j用户服务接口
 * @author 朱正磊
 * @date 2023-08-08 23:34:02
 */
public interface Lock4jUserService extends IService<Lock4jUser> {

    /**
     * description: 测试基于Redisson的Lock4j分布式锁框架
     * @author 朱正磊
     * @date 2023-08-08 23:41:25
     * @param lock4jUser 用户实体类
     */
    void doLock4jTest(Lock4jUser lock4jUser);

    /**
     * description: 分页查询用户信息
     * @author 朱正磊
     * @date 2023-08-09 23:42:14
     * @return 返回分页结果对象
     */
    PageResult<Lock4jUserResVo> userPage(Lock4jUserReqVo lock4jUserReqVo);

}
